Skip to content

[ImportVerilog] Fix moore.conversion legalization failure on interface ports#9927

Open
Mohamed-Khairy-SWE wants to merge 1 commit intollvm:mainfrom
Mohamed-Khairy-SWE:interface
Open

[ImportVerilog] Fix moore.conversion legalization failure on interface ports#9927
Mohamed-Khairy-SWE wants to merge 1 commit intollvm:mainfrom
Mohamed-Khairy-SWE:interface

Conversation

@Mohamed-Khairy-SWE
Copy link
Contributor

moore.read was being applied to all input interface signals during port flattening, which caused legalization failures when connecting to interface ports that actually expect the raw !moore.ref type, so I added a check to skip the moore.read operation if the target port's type is already a reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant